package com.tsd.system.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysUserGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：SysUserGroupMapper
 *
 * @author Hillpool
 * @date 2019/03/12 12:20:51
 */
public interface SysUserGroupMapper {

    SysUserGroup selectByPrimaryKey(Long id);

    List<SysUserGroup> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    int deleteByPrimaryKey(Long id);

    int insert(SysUserGroup record);

    int insertSelective(SysUserGroup record);

    int updateByPrimaryKey(SysUserGroup record);

    int updateByPrimaryKeySelective(SysUserGroup record);
}
